home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4810 / 4810.xpi / chrome / speeddial.jar / content / settings / settings.xul < prev    next >
Extensible Markup Language  |  2010-01-31  |  3KB  |  58 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/"?>
  3. <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css"?>
  4. <?xml-stylesheet href="chrome://speeddial/skin/preferences.css" type="text/css"?>
  5.  
  6. <!DOCTYPE bindings [
  7. <!ENTITY % dialogDTD SYSTEM "chrome://speeddial/locale/prefs.dtd" >
  8. %dialogDTD;
  9. <!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
  10. %tabBrowserDTD;
  11. ]>
  12.  
  13. <prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  14.     windowtype="mozilla:speeddialopt"
  15.     id="SpeedDialPreferences"
  16.     title="&page.header.title;"
  17.     buttons="accept,cancel,extra2"
  18.     buttonlabelextra2="&settings;"
  19.     onload="speeddial_initPrefs();"
  20.     style="width: &page.size.width;; height: 79.16ex !important;">
  21.  
  22.     <!-- General options -->
  23.     <prefpane id="paneGeneral" label="&tab.main;" src="chrome://speeddial/content/settings/pref-general.xul"/>
  24.     <!-- Defaults options -->
  25.     <prefpane id="paneDefaults" label="&tab.defaults;" src="chrome://speeddial/content/settings/pref-defaults.xul"/>
  26.     <!-- Thumbnails options -->
  27.     <prefpane id="paneThumbnails" label="&tab.thumbnails;" src="chrome://speeddial/content/settings/pref-thumbnails.xul"/>
  28.     <!-- Controls options -->
  29.     <prefpane id="paneControls" label="&tab.controls;" src="chrome://speeddial/content/settings/pref-controls.xul"/>
  30.     <!-- Advanced options -->
  31.     <prefpane id="paneAdvanced" label="&tab.advanced;" src="chrome://speeddial/content/settings/pref-advanced.xul"/>
  32.  
  33.     <script type="application/x-javascript" src="chrome://speeddial/content/settings/prefs.js"/>
  34.     <script type="application/x-javascript" src="chrome://speeddial/content/speeddialUtils.js"/>
  35.  
  36.     <stringbundleset>
  37.         <stringbundle id="prefsStrings" src="chrome://speeddial/locale/prefs.properties"/>
  38.         <stringbundle id="bundle_speeddial"
  39.             src="chrome://speeddial/locale/speeddial.properties"/>
  40.     </stringbundleset>
  41.  
  42.     <popupset>
  43.         <popup id="speeddial-settings-popup" position="before_start">
  44.             <menuitem id="speeddial-defaults" label="&settings.default;" oncommand="if (speeddial_defaultSettings()) document.location = 'chrome://speeddial/content/settings/settings.xul';"/>
  45.             <menuitem id="speeddial-firsttimeconfig" label="&settings.firsttimeconfig;" oncommand="showFirstTimeConfig();"/>
  46.             <menuseparator/>
  47.             <menuitem id="speeddial-import" label="&settings.import;" oncommand="if (speeddial_importSettings()) document.location = 'chrome://speeddial/content/settings/settings.xul';"/>
  48.             <menuitem id="speeddial-exportdials" label="&settings.exportdials;" oncommand="var data = SpeedDialUtils.exportSettings(true); speeddial_saveToFile(data, false);"/>
  49.             <menuitem id="speeddial-export" label="&settings.export;" oncommand="var data = SpeedDialUtils.exportSettings(false); speeddial_saveToFile(data, false);"/>
  50.             <menuitem id="speeddial-exporthtml" label="&settings.exporthtml;" oncommand="var data = exportHtml(); speeddial_saveToFile(data, true);"/>
  51.             <menu id="speeddial-restorebackup" label="&settings.restorebackup;">
  52.                 <menupopup id="speeddial-restorebackup-popup" onpopupshowing="return restoreBackupPopupShowing(event);" oncommand="restoreBackup(event);">
  53.                 </menupopup>
  54.             </menu>
  55.         </popup>
  56.     </popupset>
  57. </prefwindow>
  58.